﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace Kokomo.Controls
{
	public class TreeGraphControl : EnhancedTreeView
	{
		static TreeGraphControl()
		{
			DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeGraphControl), new FrameworkPropertyMetadata(typeof(TreeGraphControl)));

		}
		protected override System.Windows.DependencyObject GetContainerForItemOverride()
		{
			TreeGraphNode node = new TreeGraphNode();
			return node;
		}
		protected override bool IsItemItsOwnContainerOverride(object item)
		{
			bool isIt = (item is TreeGraphControl);
			return isIt;
		}
	}
}
